package com.etc.service1;

import java.util.List;

import com.etc.entity.Announcement;


public interface AnnouncementService{
	/**查询全部的公告信息*/
	List<Announcement>listAnnouncement();
	/**添加公告信息*/
	boolean addAnnouncement(Announcement announcement);
	/**删除公告信息*/
	boolean deleteAnnouncement(long id);
	//*修改公共信息*/
	boolean modifyAnnouncement(Announcement announcementr);
	/**加载用户*/
	Announcement loadannouncement(long id);
	
	Long countAll();
}
